#!/usr/local/bin/python3
# -*- coding: UTF-8 -*-
"""
@author:apple
@file:Person.py
@time:2021/08/23
"""


class Person:

    __count = 0;

    def __init__(self):
        self.name = '张三'
        self.age = 21
        self.__gender = '男'

    def __str__(self):
        return f'name:{self.name},age:{self.age}'

    @staticmethod
    def say():
        ...
        print('ssss')

    @classmethod
    def run(cls):
        print(cls)

if __name__ == '__main__':
    pass
    print(Person.__dict__)
    per = Person()
    print(per.__dict__)
    # print(Person.say())
    p = Person()
    # print(p.say())
    Person.run()
    p.run()